package com.infoland.afanmall.model.fuPin.entity;

import java.util.List;

/**
 * @author 王永吉
 * @date 2018/7/2 13:12
 * 根据扶贫管id查询扶贫村
 */
public class FuPinCunResponse {

    /**
     * success : true
     * message : null
     * object : {"totalRow":1,"pageNumber":1,"lastPage":true,"firstPage":true,"totalPage":1,"pageSize":2,"list":[{"flag":1,"create_time":"2018-06-29 15:13:36","modify_time":null,"name":"鸡蛋村","context":[{"text":"鸡蛋村盛产大鸡蛋","type":"text"}],"id":4,"goods_ids":"[141]","sort":3,"fupinguan_id":6,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg"}]}
     */

    private boolean success;
    private Object message;
    private ObjectBean object;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class ObjectBean {
        /**
         * totalRow : 1
         * pageNumber : 1
         * lastPage : true
         * firstPage : true
         * totalPage : 1
         * pageSize : 2
         * list : [{"flag":1,"create_time":"2018-06-29 15:13:36","modify_time":null,"name":"鸡蛋村","context":[{"text":"鸡蛋村盛产大鸡蛋","type":"text"}],"id":4,"goods_ids":"[141]","sort":3,"fupinguan_id":6,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg"}]
         */

        private int totalRow;
        private int pageNumber;
        private boolean lastPage;
        private boolean firstPage;
        private int totalPage;
        private int pageSize;
        private List<ListBean> list;

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public boolean isLastPage() {
            return lastPage;
        }

        public void setLastPage(boolean lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isFirstPage() {
            return firstPage;
        }

        public void setFirstPage(boolean firstPage) {
            this.firstPage = firstPage;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * flag : 1
             * create_time : 2018-06-29 15:13:36
             * modify_time : null
             * name : 鸡蛋村
             * context : [{"text":"鸡蛋村盛产大鸡蛋","type":"text"}]
             * id : 4
             * goods_ids : [141]
             * sort : 3
             * fupinguan_id : 6
             * f_url : http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg
             */

            private int flag;
            private String create_time;
            private Object modify_time;
            private String name;
            private int id;
            private String goods_ids;
            private int sort;
            private int fupinguan_id;
            private String f_url;
            private List<ContextBean> context;

            public int getFlag() {
                return flag;
            }

            public void setFlag(int flag) {
                this.flag = flag;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public Object getModify_time() {
                return modify_time;
            }

            public void setModify_time(Object modify_time) {
                this.modify_time = modify_time;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGoods_ids() {
                return goods_ids;
            }

            public void setGoods_ids(String goods_ids) {
                this.goods_ids = goods_ids;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getFupinguan_id() {
                return fupinguan_id;
            }

            public void setFupinguan_id(int fupinguan_id) {
                this.fupinguan_id = fupinguan_id;
            }

            public String getF_url() {
                return f_url;
            }

            public void setF_url(String f_url) {
                this.f_url = f_url;
            }

            public List<ContextBean> getContext() {
                return context;
            }

            public void setContext(List<ContextBean> context) {
                this.context = context;
            }

            public static class ContextBean {
                /**
                 * text : 鸡蛋村盛产大鸡蛋
                 * type : text
                 */

                private String text;
                private String type;

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }
            }
        }
    }
}
